<!--<?php
  session_start();
  if(!$_SESSION)
  {
    ?> 
     <script type="text/javascript">
     alert("Identifiquese"); 
     window.location="../Index.php";
     </script>
    <?php
 
  }
  

 ?> -->
<!DOCTYPE html>
<html>
  <head>
    <title>Usuarios</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="css/bootstrap.min.css" rel="stylesheet" media="screen">
    <script type="text/javascript" src="js/bootstrap-tab.js"></script>
    <script type="text/javascript" src="http://twitter.github.com/bootstrap/assets/js/bootstrap-tab.js"></script>
  </head>
  <body>
        <script src="http://code.jquery.com/jquery.js"></script>
        <script src="js/bootstrap.min.js"></script>
        
          <nav class="navbar-wrapper navbar-default navbar-fixed-top" role="navigation">
            <div class="collapse navbar-collapse navbar-ex1-collapse">
              <div class="collapse navbar-collapse">
                <ul class="nav navbar-nav">

                   <li><a href="index.php"><span class="glyphicon glyphicon-home"></span> Inicio</a></li>
                  <li class="active"><a href="ViewUsuarios.php"><span class="glyphicon glyphicon-user"></span> Usuarios</a></li>
                  <li><a href="cerrarSesion.php">Salir</a></li>
                      </ul>
            </div>
          </nav>
          <!--
          Se usa la de abajo para meter todo los forms.
          !-->
          <div class="container-fluid">
            <div class="jumbotron">
               <center>
          <h3><p class="text-info">Registrar Datos...!!!</p></h3>
          <div class="input-group">
    
            <form action='ControlUsuarios.php' method='POST' class="form-horizontal"> 

           <center>
             <div class="form-group">
                  <label class="col-lg-5 control-label" for="cedula"><h4>C&eacute;dula</h4></label>
                   <div class="col-lg-2">
                  <input type='text' name ="TxtCedula" class="form-control" id="cedula"style="width: 200px; padding: 2px" />
                  </div>
            </div>
             
             <div class="form-group">

                  <label class="col-lg-5 control-label" for="nombre"><h4>Nombre</h4></label>
                  <div class="col-lg-2">
                  <input type='text' name ="TxtNombre" class="form-control" id="nombre"style="width: 200px; padding: 2px" />
                  </div>
            </div>
             
            <div class="form-group">
                  <label class="col-lg-5 control-label" for="apellido1"><h4>Primer Apellido</h4></label>
                   <div class="col-lg-2">
                  <input type='text' name ="TxtApellido1" class="form-control" id="apellido1"style="width: 200px; padding: 2px" />
                  </div>
            </div>
             
            <div class="form-group">
                  <label class="col-lg-5 control-label" for="apellido2"><h4>Segundo Apellido</h4></label>
                   <div class="col-lg-2">
                  <input type='text' name ="TxtApellido2" class="form-control" id="apellido2"style="width: 200px; padding: 2px" />
                  </div>
            </div>
             
            <div class="form-group">
                  <label class="col-lg-5 control-label" for="direccion"><h4>Direcci&oacute;n</h4></label>
                   <div class="col-lg-2">
                  <input type='text' name ="TxtDireccion"class="form-control" id="direccion"style="width: 200px; padding: 2px" />
                  </div>
            </div>
                  <br> 
            <input type='submit' value='Agregar' class="btn btn-primary" /><input  type='hidden' value='1' name='BtnCrear' /> </center>
            </form> 
            <form action='View_Us_Buscar.php'>
              <span class="glyphicon glyphicon-search"></span>
              <input type='submit' name = "BtnBuscar" value='Buscar Persona'  class='btn btn-info'>
            </form> 

          </div>
          </center>
            </div>
          </div> 
 
          <footer>
            <div class="container">
              <div class="row">
                <div class="col-md-10">&copy; 2013 | Universidad Nacional | Sede Regional Chrotega | Campus Nicoya</div>
               
              </div>
            </div>
          </footer>
  </body>
</html>